package com.mswork.mes.mapper;

import java.util.List;

import com.mswork.mes.domain.StoreOrderAuxiliary;
import com.mswork.mes.domain.StoreOrderCargo;

/**
 * 辅料工单表Mapper接口
 *
 * @author ruoyi
 * @date 2025-04-07
 */
public interface StoreOrderAuxiliaryMapper {
    /**
     * 查询辅料工单表
     *
     * @param auxiliaryId 辅料工单表主键
     * @return 辅料工单表
     */
    public StoreOrderAuxiliary selectStoreOrderAuxiliaryByAuxiliaryId(Long auxiliaryId);

    /**
     * 查询辅料工单表列表
     *
     * @param storeOrderAuxiliary 辅料工单表
     * @return 辅料工单表集合
     */
    public List<StoreOrderAuxiliary> selectStoreOrderAuxiliaryList(StoreOrderAuxiliary storeOrderAuxiliary);

    /**
     * 新增辅料工单表
     *
     * @param storeOrderAuxiliary 辅料工单表
     * @return 结果
     */
    public int insertStoreOrderAuxiliary(StoreOrderAuxiliary storeOrderAuxiliary);

    /**
     * 修改辅料工单表
     *
     * @param storeOrderAuxiliary 辅料工单表
     * @return 结果
     */
    public int updateStoreOrderAuxiliary(StoreOrderAuxiliary storeOrderAuxiliary);

    /**
     * 删除辅料工单表
     *
     * @param auxiliaryId 辅料工单表主键
     * @return 结果
     */
    public int deleteStoreOrderAuxiliaryByAuxiliaryId(Long auxiliaryId);

    /**
     * 批量删除辅料工单表
     *
     * @param auxiliaryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStoreOrderAuxiliaryByAuxiliaryIds(Long[] auxiliaryIds);

    public int deleteStoreOrderAuxiliaryByOrderIds(Long[] orderIds);

    public int batchStoreOrderAuxiliary(List<StoreOrderAuxiliary> storeOrderAuxiliaryList);

    public int deleteStoreOrderAuxiliaryByOrderId(Long orderId);

}
